package com.liu.service;

import com.liu.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UserService {

    User findByUserName(String username);

    void register(@Param("username") String username, @Param("password") String password);

    void updata(User user);

    void updataAvatar(String avatarUrl);

    void updataPwd(String newPwd);
}
